fixed build error if bundled zlib is used