Partial compilation fix for OpenBSD