Fix firefox crash after zlib upgrade