Fix build error for Windows Phone