Bug fix for kFreeBSD.