make mktemp command work on osx