fixing CMAKE_CXX_FLAGS clobbering