fix for ppc arch