add CPFLAGS and LDFLAGS on CONFIGURE_VARS