Fix x86 compilation