Improving requirements and build config for Solaris and SmartOS, including ruby-2.0.0

Updating SmartOS requirements to use autolibs aware check for package installation.
Updating requirements for Solaris to be autolibs aware.
Improving requirements for Solaris & SmartOS.
Using bash to run configure for non-portable configure code.
Update ruby-2.0.0 build config for SmartOS to use -R -fPIC to work around configure issue.

Relevant bugs recorded in ruby issue tracker:
https://bugs.ruby-lang.org/issues/5384
https://bugs.ruby-lang.org/issues/8071
https://bugs.ruby-lang.org/issues/8268