Restore compatibility with HDF5 < 1.8.7