switch to c++ compiler