Hm, I thought that glibc systems have libintl integrated in glibc and non-glibc systems have dlopen/dlsym/dlerror integrated in their respective libc, but now I see you may be right, Solaris seems to have both libintl and libdl outside its libc.
I did not actually test this on Solaris, however. Anyway, the extra test does certainly no harm, in the worst case it is not used.