Removing scoped_mutex_lock::lock() because it contained a race condition.
Add more configurations for travis to build.