fix freebsd sigaction