JRuby

Allow a way to activate the profiling API when embedding JRuby