Don't clober the environment CPPFLAGS and LDFLAGS

Currently, the various 'use_homebrew_*' functions overwrite the CPPFLAGS and
LDFLAGS in the environment. This patch makes sure that the environment flags are
included in the package configure options.