in MinGW Gcc4.8 workaround for off64_t bug.