added zalloc_init function ptr for zlib stuff