Fix intalling directory problem with Ruby 1.9.1.