[entropy.*] migrate all retrieveNeeded uses to retrieveNeededLibraries