SCons: cache construction variables

Cache the (modifiables) construction variables of the SCons based build system,
so that you do not always have to pass custom variables to scons.