trying to fix compilation for PPC32/64 platforms