         options.native_module_dirs.push(dir)
 
 arch_info = {
-        "x86-64": { pointer_size: 64, little_endian: true, llc_arch: "x86-64",  clang_arch: "x86_64" }
+        "x86_64": { pointer_size: 64, little_endian: true, llc_arch: "x86-64",  clang_arch: "x86_64" }
         x86:      { pointer_size: 32, little_endian: true, llc_arch: "x86",     clang_arch: "i386" }
         arm:      { pointer_size: 32, little_endian: true, llc_arch: "arm",     clang_arch: "armv7" }
         aarch64:  { pointer_size: 64, little_endian: true, llc_arch: "aarch64", clang_arch: "aarch64" }


set_target_alias = (alias) ->
        target_aliases = {
                linux_amd64: { platform: "linux",  arch: "x86-64" },
                osx:         { platform: "darwin", arch: "x86-64" },
                sim:         { platform: "darwin", arch: "x86" },
                dev:         { platform: "darwin", arch: "arm" },
        }

temp_files = []

host_arch = os.arch()
host_arch = "x86_64" if host_arch is "x64" # why didn't we just standardize on 'amd64'?  sigh
host_arch = "x86"    if host_arch is "ia32"

host_platform = os.platform()
