added cmake flag ICUB_AUTOMATIC_MODE_SWITCHING, default true