Update `mktemp` command to work on Mac OS X

Fix issue 274. It seens like the same with
[this issue](https://github.com/StanAngeloff/lotte/issues/1).