Trivial fixes to make RPM building work with Ruby 1.9.

Trivial fixes to make RPM building work with Ruby 1.9.