Changed file to be based on FreeBSD to prevent redeclared reference error on 64-bit dfly