Fix Windows build warnings (win)