Added `zlib` support

Since `zlib` is in the platform, it seems only reasonable.

Third attempt at this pull request, since the other two got screwed up.