Add parallel building of rubies

The `cores()` function is stolen from ruby-build
(https://github.com/sstephenson/ruby-build) and should work for both Linux and
OS X.

`--jobs` is a parameter from `make`:

> Specifies the number of jobs (commands) to run simultaneously.

This allows compiling more than one file at once.