Merge pull request #8642 from martell/minizip

mingw64: mirgrate to upstream minizip
Fix the lua-tests compile error
Update project setting for Linux and Win32
Merge pull request #8644 from samuele3hu/v3_compile_error

Fix the lua-tests compile error