Simple. Use vegan block butter in place of regular butter and omit the egg yolk from the pastry dough, adding an extra tablespoon of water to help bind the ingredients together. Also, ensure that you select vegan cornflakes (a lot are not as they contain vitamin D derived from animals). It's also worth checking that the sugar you are using is also vegan as some are not (most in the UK are).