Delete unneeded libraries