Fix build on powerpc

Tested in qemu virtual machine.