switched to c++ mode in travis.