fix for older HDF5 installations