updated for PPC builds