Automate building of extern. deps