Compatible CRuby 1.9.2 and 1.8.7