FLAG_CXX is set if FLAG_YARP is ON