Support ruby 2.1.0

Fixes the installation of build dependencies for ruby 2.1.0.
The regex now matches against ruby versions without appended patchlevel.
Merge pull request #70 from WhyEee/master

Support ruby 2.1.0