Don't use $< in target rules in makefiles (backport from trunk)