- fix tmp directory for linux/os x