Solaris support

This is to get solaris2 working for openssh.  This is backwards compatible with old OS and will not break anything.