Remove some unnecessary code from Rakefile