change CC to CFLAGS, CXX to CPPFLAGS