update Rakefile

Updated to work with newer versions of rake.