Added check for hdf5 in configuration