Fix target platform detection for x64 MinGW
Merge pull request #749 from taka-no-me:mingw64