Cmake updates 1

changes to enable netcdf-fortran cmake scripts to build library. Now with fix for the autotools build...