Changes to support OpenBSD.