Removing libraries that are not used