This is notably necessary on TruffleRuby, which is updating to Ruby 3.3 which introduces Prism as a default gem.
Using the existing path is not an option as it would end up in truffleruby/lib/build/libprism.so and "truffleruby/lib/include/#{header}" which are not good places for such files.