Different zlib versions have different interfaces. Fixes #19.