Fix a build error on *BSD

*BSD doesn't define off64_t. We should use off_t on the environment.

GitHub: fix #253

Reported by Hiroshi Hatake. Thanks!!!