Fixed HDF5-related NetCDF build problems.
Fixed HDF5-related NetCDF build problems.

polymec/polyglot-dev,polymec/polyglot-dev,jjphatt/polyglot-dev,jjphatt/polyglot-dev,jjphatt/polyglot-dev,polymec/polyglot-dev