Fix compilation under OpenBSD 5.4

Closes #33