Error out if a regular rule depends on a phony rule.