(FACT-375) Fix json gem installation on solaris