Attached patch adds a few missing '#ifdef _LFS64_LARGEFILE' to allow building on systems with no LARGEFILE support