Support cross-compilation for Windows