Link tests against -lz too
Better diagnostics when xmllint fails