FS-6189: this should put -lz in the right place.