Added custom configuration to use TMPDIR.