fix cxx_flags