try to fix build under ruby 1.9.3