scons: add OS_ENV option, to forward all of OS environment to scons

Conflicts:
	SConstruct
fixup SConstruct in case there is no terminal in the environment
Merge pull request #320 from cbeck88/backport_scons_changes

backport scons changes