fix powerpc types to match abi, and some feature test issues