fixup SConstruct in case there is no terminal in the environment