Support solaris 10 and 11