Fixed compiler error when building for Windows Phone