[Toolkit] Fix compiling issue on WinRT