fix no zlib in cross compiling