Compilation fix for OpenBSD