Enabled compilation of ncdf routines.
It now links together with fvar.
Still need to create and run tests for this.