* fixes for broken builds on Solaris, OS2 and all bingendian