on travis there's an old zlib version. Try to compile a new one when not using the bundled one