deal with compile ambiguity solaris