fixed kFreeBSD support