[Build] Fix compilation on W8/WP8