patch for QL-SWIG and Ruby 1.9 (cf http://bugs.debian.org/733105)

This is the patch which Christian had sent me. It gets us part of the way there as it lets us build under Ruby 1.9. 
The install step may need work, the test step surely does too.