[TO_STAGE] Bug 1016917

Ruby 1.8 results in SEGV when a wrong (in this particular case, `json`)
native extension is loaded.

In the long-term, we need to ensure that the load path is set up
correctly. This is an admittedly temporary fix.