Fix for Ruby 2.1.0
Merge pull request #4 from mswain/master

Fix for Ruby 2.1.0