fix dependency for ruby 187