(minizip) Fix most of the remaining issues that precludes building
with MSVC