Use CXX and CXXFLAGS instead of GXX and CFLAGS

CFLAGS is probably fine, but just in case.