Revert "Change compile/install logic for zlib with mingw"
This reverts commit 4bd892f4527d790a4389409f678f4e62a2660d19.