configure: detect Solaris libc