fix cross compile of zlib version