Improve build settings for travis