Initial pass at porting lithium-ppc.cc