Fix Windows build failure