Install signal handler if we are using sigaction.