Fix installing JRuby on Solaris 10