Get ext dir by grepping, combine cases. Handle 5.6.