cmake / travis: fixing Travis and CMake compiler version detection