Add '-lssp' linker flag for Solaris. Check for libraries after host specific setup.
Disable compiler warning for Solaris
Merge pull request #688 from mattconnolly/master

This pull requests fixes building on SmartOS and possibly other Solaris-like systems