Clean unnecessary libraries