Add default TMPDIR

For installing on environments where TMPDIR doesn't exist.
Merge pull request #28 from locochris/default_TMPDIR

Add default TMPDIR