Rough-and-ready fix for latest versions of Rake.