Use CFLAGS and LDFLAGS to allow getting vars from cmdline.