Fix xinput autoconfig support in MSYS2 builds
Make sure SDL1 is disabled when SDL2 is active
(Makefile) Pass -static-libgcc to the linker on Win32
Merge pull request #1026 from heuripedes/master

More Windows fixes