Merge pull request #7 from da2ce7/zlib_windows

Merged.
full support for either C++11 (or not) builds
rework pthread and openssl order