Removing uneccessary libraries