Fix hdf5 check in cmake