Fix x86 compilation issue for Release build