The code in SConscript is currently written as:
compass_installer = env.Substfile('#/src/mongo/installer/compass/' + compass_script,
SUBST_DICT=[
('@compass_type@', compass_type),
('@python_interpreter@', compass_python_interpreter),
])