fix for older HDF5-1.8.x installations