Explicitly check for libz in configure, issue #462.