Fix build on SunOS.
Expand typedef which GCC on SunOS does not like.

Fixes package on SunOS.
SunOS needs -D__EXTENSIONS__ for strcasecmp(3C).