Fix for 'tmpdir' not being included by default