lib: Do not assume sig_atomic_t is int.