add_library/add_executable: allow local alias to imported targets

Fixes: #20641
27 files changed