fixes #2229: revert accidental TARGET remove in e8afb97