fix wp8 compile error and modify default resource path