Compilation fix for FreeBSD.