zlib: use arch-specific ar and ranlib