cmake CXX hack