Adding OpenBSD support

A simple patch to add OpenBSD support, tested on 5.6 -current only.