Use rb_ary_new4() instead of rb_ary_new_from_values() for compat with Ruby < 2.1.