use the CXXFLAGS and LINKFLAGS environment variable in scons

this allows homebrew to use its own flags during the build