Add MacOS.preferred_arch

Replaced the plethora of ternaries we've used all over the place to
determine whether x86_64 or i386 is called for.