fix %SIG localization problem with Perl 5.10