Fix SIGQUIT on Windows