Add support for JRuby / single-core in fannkuch bench.