Remove unncessary libraries