fixing issue with hdf5 dep check