fixed solaris 11 support