Fix syscall signatures on OSX

    We are supposed to be using stat64... oops.