build mingw with win32 threads, seh exceptions