Preheat the oven to 375 degrees F. Lightly butter a 9x13 inch baking dish. Peel, core, and slice the apples about 1/4 inch thick.
Sprinkle the cornstarch over the sliced apples and toss to coat. Add the granulated sugar, lemon juice, cinnamon, nutmeg, and vanilla, toss again, and spread the apples evenly in the buttered dish.
Whisk the flour, rolled oats, brown sugar, cinnamon, and salt in a second bowl. Scatter the cold cubed butter over the top and rub it in with your fingertips until rough, uneven clumps form, from pea-sized to almond-sized.
Scatter the topping loosely and evenly over the apples without pressing it down. Bake for 40 to 45 minutes, until the topping is deep golden brown and the filling is bubbling at the edges. Tent loosely with foil for the last 10 minutes if the topping browns too fast.
Rest for 15 minutes before serving so the juices thicken. Serve warm with vanilla ice cream, whipped cream, or warm custard.