Fix typos and missing Joystick::

This fixes the errors when building on FreeBSD.