FIX: Use x86 optimized code only when compiling on a x86 CPU.
- Resolves compilation errors on ARM based processor (defaults to reference code).