Don't end paths with a slash.

Perhaps this will fix the test with Visual Studio.
Merge topic 'target-includes-defines-commands' into next

aca4916 Don't end paths with a slash.