Fix powerpc build