try use CFLAGS in 3.5.x, and incoperate CPPFLAGS later on.