Get rid of some unnecessary libraries