Make mktemp syntax in Makefile compatible with OS X