Link zlib statically on all platforms

The API and ABI isn't as stable as we need, so it isn't safe to
link it dynamically even on Linux.
1 file changed