Workaround for rb_block_given_p() return value change in Ruby 1.9 series.
Merge pull request #322 from y-higuchi/support_ruby20

Workaround for rb_block_given_p() return value change in Ruby 1.9 series...