fix netcdf prototypes