fixed compiling for WP8