Reorder x86_64 checks

So that darwin and cygwin/mingw are tested before the generic check --
which allows them to actually be set.