Rakefile: minor refactoring.