make GC free OnigRegion*
support CRuby global variables