fix zlib checking on lucid