We need to detect netCDF during configuration so that we will only provide the feature if the library is available.