Fix: make check doesn't work on OS X

mktemp needs a prefix on OS X