Alter CMake C++ flags for travis