removing extra c++ mode confs