compilation fixes for sun CC
2 files changed