Fix overlooked WinRT code path