An aerofoil is chosen from what is known at the time for the use the plane is intended for. The Bf109 was designed for a short range fighter with a 650BHP engine at the start. Research into laminar flow showed that a wing could be thicker and have less drag in a certain speed range. The P-51D was also obsolete in terms of airfoil technology when introduced, Jets were in service with the USA , Germany and UK the speed of military combat had just jumped by 100MPH and transonic /supersonic performance was the new-new thing.So the airfoils of a lot of WW2 fighers were obsolete/not competitive at the end? Afaik as the Me 109, Fw 190, F4U Corsair, F6F Hellcat, F7F Tigercat, F8F Bearcat et al are concerned.