CXXFLAGS are for C++, not CPPFLAGS