Fix for netCDF-3-only builds