DRY out rakefile a little bit