compile with zlib extension