Fix crash with non-normalized Windows paths in Visual Studio build