Repaired the problem of compiling failure on solaris.