mods for new zlib; get rid of zalloc_init and nb arg to zfree