build on ruby 2.1
use new 2.1 api
Merge pull request #40 from github/ruby-2.1

Ruby 2.1