Build shared variant of zlib.