Added code to get all library directories, based on required libraries.