Added a workaround for running Rake under Ruby 1.9.2.