Fix a dependecy --> dependency comment typo.
Fix error message typo - same named targets with different properties.