Changed file to be based off FreeBSD to prevent type error on 64-bit dfly