make it build successfully on Solaris 11 also