added HDF5 version check

Fail early in the config.build process if the required HDF5 version is not found.