Fix for the C++ projects trying to build on Travis CI