fix build on Solaris (bug #4476)