Fixes to make the compiler write to /tmp
Fixes to compiler to write to /tmp
Merge pull request #539 from fundies/master

Makes the compiler write to /tmp. Untested on windows