begin to reduce the number of linux specific calls for BSD support
revert back to self-pipe trick for signals in order to work towards BSD support. @teepark *sigh*
remove the cffi dependency (for now)