dont append a target to a rule if the var is empty