Preheat the oven to 350°F. Butter and flour two 8-inch round cake pans; set aside. In a food processor, combine the nuts, flours, sugar, and salt; pulse until the nuts are finely ground but not oily. Add the butter, oil, lemon zest, and lemon juice; pulse until the mixture just comes together.