Fixed motor_driver compile errors