adds zlib dependency for all platforms