you can try adding a patch file to patches or adding a postPatch hook
patches
postPatch
yes a hook is just a string of commands to run