Check for mkostemp, fix #66
Merge pull request #67 from remicollet/issue-66

Check for mkostemp, fix #66