Remove unread variable
Fix Windows build