Made OSX understand the temp paths for pid files