Add a warning for dependency specifications that mismatch the version selections. Fixes #333.