build: Add missing zlib dependencies for several protocols