Alexandre Julliard : tools: Add a common helper to setup signal handlers.