Fixed build on kFreeBSD