[master] Fixing a compilation error for Mac port after merging WIN8 RT &WIN PHONE8 codes.