Fix compilation under OpenBSD 5.4

Closes #33
Merge pull request #34 from avsm/fix-openbsd-issue-33

Fix compilation under OpenBSD 5.4