fix target names in DEPENDS (closes: #2341)