fixed linux/osx temp paths