Added check for x86 architectures.