change the function in the zlib check to one we actually use