Fixes for PowerPC AltiVec compile [Vas Crabb]
Fix tools build on OS/2 [KO Myung-Hun]