CMake: zlib dependency not properly propagted by hdf5 targets

I will take a look and try some things - maybe we can get a solution for the next release of hdf5.
Also maybe the AND NOT TARGET “zlib/szip” should just be deleted?

Allen