Fix build on OpenBSD