Fixed Windows Store build errors.