Use runBuildCommands for the "build" generator.
Fix target settings for dependencies in the Visual-D generator.