Fix signal handling warnings