Unused libraries are deleted.