Fix Windows build configurations