Add needed libraries as per configuration to the list of libraries we