Prevent Travis failing on JRuby.