Combine the peaches, lemon juice, flour, vanilla, and sugar in a large bowl and stir to combine. Pour the peach mixture into the buttered pan and spread it out evenly. In another bowl, combine the flour, oats, brown sugar, salt, and cinnamon and stir.