build: Change how caller provided CFLAGS are used by configure.