Fix build on Net/OpenBSD