Handle both 32 and 64-bit x86 builds regardless of target triple