Number "unknown" axes in OSX rather than call them all "unk".
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
"Fix" using SDL from externals.
Fix compilation with SDL2. (based on a patch from matthewharveys)
Fixes issue 5971.