Update to be compatible with changes in zlib.
Added more macros to openssl.cmake.