Wrap $SIG{USR2} assignment in an eval for Windows