Classifying tangent structures using Weil algebras