Add amd64 detection when build host is a x86_64 machine, closes #390