for ruby 2.1 support

For ruby 2.1.0 support.