Remove unused code in Rakefile