Fix Windows cross-compilation from Linux