Make C-API specs compile as C++ on Ruby < 2.7
Make C-API specs compile as C++ on Ruby < 2.7

eregon/rubyspec,nobu/rubyspec,eregon/rubyspec,nobu/rubyspec,ruby/spec,nobu/rubyspec,ruby/spec,ruby/spec,eregon/rubyspec