Fixed an issue with rakefile