separate netcdf libraries into c and fortran