Fix building on Solaris.

"SunOS" and "Solaris" are the same thing these days, so make them go
down the same code paths. In particular, the browse feature was omitted
on solaris but not sunos5, causing trouble for some folks (see #838).
Merge pull request #842 from nico/solaris

Fix building on Solaris.