compile with zlib