Fix missing dependency on vtkzlib.

This was causing failures on ParaView superbuilds.
The comparison operator is now const correct.

This is important so that we compile correctly with libc++11.