Adjust signal handling to latest libcappy.