Fix Rakefile for paths