Add default TMPDIR

For installing on environments where TMPDIR doesn't exist.

(eg. Ubuntu)