Updated Rakefile with build helpers