Support ruby 2.2