Resolve build error in Solaris 10 bug #3097

...uild error on solaris 10