Cross compile support for Win32 and Win64 has been unified, simplified and adapted to the new MinGW64-based build environment. This finally allows to produce working Win64 binaries. (cherry picked from commit 51103bb674)
51103bb674