Add x64 windows to platform.mk and mingw64 header fixes.
auto merge of #7547 : luqmana/rust/mingw64, r=yichoi

Add the x64 windows target to platform.mk and reorder some headers to fix build on mingw64. There are still some issues with building llvm but this gets us one step closer.