Make sure generator expressions can be used with target_include_directories.

Handle the case that a generator expression is used before treating
a non-target as an error.
Merge topic 'fix-target_include_directories-genex' into next

24dcf0c Make sure generator expressions can be used with target_include_directories.