Provide zlib version explicitly on Linux.

- workaround for Gentoo (#987),
- also, it's a good practice to provide ABI version in calls to dlopen,
so if zlib ever changes ABI, wrappers won't break silently.