Bumped required hdf5 version.
Fixed automake based builds so that libnetcdf.settings would be properly installed.