Fixes on OpenBSD