build-plugin: If no selection select first
If there is no target selected when select-target is invoked, try to select the first target in the first target-set.
If there is no target selected when select-target is invoked, try to select the first target in the first target-set.