Added fix for ev3dev/ev3dev#190