Enable large file support if available for >2GB file support
Fix typo in img3/img4 header files affecting C++ compilation