1314: fixed c++ compiler check