Fix for older version of ZLIB