Make MustContainLibraryInspection robust.
Add inspection for target-type value.