fix OpenBSD builds