Maybe you need to use git bash instead of windows command line? Wouldn't hurt to try :P. I also found something about doing env['ENV']['TMP'] = os.environ['TMP'] in the SConscript, don't know if that would help at all. I also thought I already put that in there ...