SCons: allow overriding of CCFLAGS and CXXFLAGS.

Allow overriding of CCFLAGS and CXXFLAGS when using the SCons based build
system.  To facilitate this, some of the default variable settings are now
prepended to the variables instead of appended so that setting them on the
command line will override the defaults.