Fix SIGSERG for __DEBUG__ build