def detect_x86
    print "Checking for x86_64: "

    status = check_program do |f|
      src = <<-EOP