Allow compilation on non-x86 platforms.