automatically install extensions required by dependencies