motor_control: cores modified so they can compile with the new common files