Patch to fix ZEXPORT compile issue with some versions of zlib