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

target_libecho = (platform, arch) ->
        return "../../runtime/libecho.a"    if platform is "linux"
        if platform is "darwin"
                return "../../runtime/libecho.a" if arch is "x86-64"

                return "../../runtime/libecho.a.ios"


        return "../../external-deps/pcre-linux/.libs/libpcre16.a" if platform is "linux"

        if platform is "darwin"
                return "../../external-deps/pcre-osx/.libs/libpcre16.a" if arch is "x86_64"
                return "../../external-deps/pcre-iossim/.libs/libpcre16.a" if arch is "x86"
                return "../../external-deps/pcre-iosdev/.libs/libpcre16.a" if arch is "arm"
                return "../../external-deps/pcre-iosdevaarch64/.libs/libpcre16.a" if arch is "aarch64"
