change cxx_flags setter