HP-UX, Solaris, IRIX tweakage

 - lots of new errors
 - adjustments to the compiler specs
 - dirent.ini, ftw.ini handle absence of fundamental declarations better
 - make the threads-are-special detector more robust