Better support for new archs.

Copied the idea of _ARCH_32 and _ARCH_64 from Dolphin.