Remove used libraries