Fix build on OpenBSD.