Fix some broken issue on ppc