enable to run on ruby 1.8.7 (el6)