Fixed portability issue on Sun C.