OpenBSD compatibility
Merge pull request #5 from jedisct1/openbsd

OpenBSD compatibility