remove gcc-specific flags from cxxflags