1 stick (4 ounces) cold unsalted butter, cut into tablespoons
3 tablespoons ice water
1 large egg, lightly beaten
1 teaspoon vegetable oil
1/2 teaspoon pure vanilla extract
In a food processor, combine the flour, brown sugar and spices, if using, and pulse to mix. Add the cream cheese and pulse until the mixture is sandy. Add the butter and pulse until the mixture resembles coarse meal.
In a small pitcher, combine the ice water with the egg, oil and vanilla and pour into the food processor; pulse until the dough just forms a ball. Turn the dough out onto a lightly floured surface and pat it into 1 large disk for a tart or 2 small disks for pies. Wrap the dough in plastic and refrigerate for at least 30 minutes or overnight.