Modify error with warning when mesos native library is not loaded. We assume that you are running spark-job-rest on spark.