SDL2 MinGW build - reverse order of libs, improved cmakelists