Using ZLIB_VERSION constant instead of function.