mingw64 doesn't have SEH, and apparently amd64 arch (w64) doesn't need it. also fixes a conflicting value for _WIN32_IE on mingw64 environment.