Update to be compatible with changes in zlib.