SDL2 default on all platforms, fixes for mingw-w32 compilation.