Rakefile, lib/build/jake.rb: minor refactoring.