Code now compiles on cagagnon system. Init appears correct.  Untested.