rebuild zlib with: make -f win32/Makefile.gcc LOC="-march=core2 -fomit-frame-pointer -fexpensive-optimizations"
remove unused file
rebuild openssl with: ./Configure --prefix=/mingw64/x86_64-w64-mingw32 no-shared zlib no-zlib-dynamic mingw64 -march=core2 -fomit-frame-pointer -fexpensive-optimizations, change to use openssl-1.0.0k because openssl-1.0.1d fails tests.