Install optional packages only if corresponding executable exist