code: def binary(name):
      if platform.is_windows():
          exe = name + ".exe"
          n.build(name, "phony", exe)
          return exe
      return name
  
imports: from optparse import OptionParser
  import os
  import shlex
  import subprocess
  import sys
  import ninja_syntax
label_desc: Use image node_id 6 for calling a global function with example usage: binary(name) and returns: name, exe