add_custom_command: Prepare deferred custom command creation
Moved access to instances of class cmCustomCommand
from the add_custom_command
implementation to class cmMakefile
. The custom command will not be visible immediately when custom command creation is delayed.