Fix compile error on WP8