C++ fix: check if CPP.xml is properly set