Remove unsed libraries