Set up tmpdir for travis builds.