Don't overwrite environment CFLAGS, use CPPFLAGS.