Fix compilation on newer MRIs.
Add license details to gemspec.