Made build impervious to temp dir privileges
Merge pull request #545 from niczero/master

Made build impervious to temp dir privileges