Fixed incorrect arch identification under MinGW64 and MSYS