Should fix the joystick compilation problem, 2nd try