Fix build settings error when compiling on Travis CI's servers