cleaned up cmake for pnetcdf