get compiling as c++ working.