Apparently, Solaris doesn't have paths.h.  Sigh.

Do the best I can.