Make tests compile on non-x86.