Appends another target to a TargetList.
a TargetList
the interned atom representing the target
the flags for this target
an ID that will be passed back to the application