small code cleanup in Rakefile