Some fixes for compiling on Sparc.

3 files changed