added handling for zlib and openssl