Changed to skip the ZLib check when ZLIB_SOURCE is set.