fix the build in Ruby 2.0.0