Use --enable-fortran option for netcdf.