Fix use under Ruby 2.1