-D_LARGEFILE64_SOURCE added to fix build issue on 32 bit systems.