Fix build on macOS
Fix build on macOS

.. which was broken since sed doesn't support in-place editing of sym links

Using perl seems to have better cross-platform support.

Closes https://github.com/google/jsinterop-base/pull/17

Fixes https://github.com/google/jsinterop-base/issues/16

PiperOrigin-RevId: 373694461

google/jsinterop-base,google/jsinterop-base,google/jsinterop-base