Prep for multiruby support (targeting rbx)
- fix variable scoping
- prep for rbx/mri support
- only do jruby patches on jruby
- Fix homedir; was a remnant of a past life being in an rpm spec.