Fixes to make the compiler write to /tmp
Fixes to compiler to write to /tmp