Make rakefile case insensitive

Hi, this is the pull request for the issue I described earlier.
Cheers,
Ben