fix for OpenBSD.