Add OpenBSD support.

The title says it, support for OpenBSD is added, tested on OpenBSD 5.6-current.