Partial compilation fix for OpenBSD
Partial compilation fix for OpenBSD