Clean and remove un-used libraries.