Fix Windows checks