Update MinGW to 4.9.1 v3 r1, and change it from win32 to posix.