Fix detection of *BSD systems for large file support.