Fix goto declaration logic for Windows.