fix cxxflags assignment