joysticks now work again. Note:SDL2 now uses /dev/input/event* in stead
of /dev/input/js*. /dev/input/event* is not readable by default, so
chmod +r it!!
Merge branch 'refs/heads/master' into libav09fixes
fix cmake stuff (avresample is found correctly now)