Make ruby-gnome2 build with Ruby 1.8.7 again.

It looks like ruby-gnome2 accidently broke backward compatibility.