Fix netcdf for non-Garnet machines