Update the `swihooks.pl` file for the latest compiler changes