Fixing OpenBSD support

Signed-off-by: Frank Mertens <frank@cyblogic.de>