fix compilation problems, prepare for data exchange between hycom and CESM
need to get the correct output to CICE