system changes for WinRT support