Add tilde-style ranges for dependency definition.