Fix Rakefile errors