Check for mkostemp, fix #66

Trivial fix, switch to mkstemp when mkostemp is not available.