Get rid of unused libraries