fix ruby 1.9.3 issue with const_get