17149 - Trivial fixes to make RPM building work with Ruby 1.9

Fixes for Ruby 1.9.
17149 - Trivial fixes to make RPM building work with Ruby 1.9

Update changelog
18258 - Release 2.2.2

Update changelog, release notes and rakefile