Fixed solaris compilation error with overloading ambiguity