Fixed typo in loadexternaldependencies