fix wp8 compile error and modify default resource path
Merge pull request #7954 from huangshiwu/v3_wp8fix_pr

fix wp8 compile error and modify default resource path