consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment