Support $(ld_targets)

This was due to notos.git where, similar to $(elf_targets), a target which
is only linked via ld has $(check_deps) and should therefore profit from the
logic in 'build' to not rebuild it unnecessarily. Hereby, this support is
provided.