fix powerpc build