Update Rakefile, improve `jar_name` method.