Use CMAKE_CXX_FLAGS_DEBUG properly