fix sighandler metatypes
add IFF flags for netbsd