meson: move zlib detection to meson