zlib, libzip, pulseaudio static build fixes