fixes needed to get ROOT compiling on Solaris 11 with SolarisStudio 2.3.
fix in case ruby is not installed.