Fix compiler error for non-x86_64 architectures