bees
Replace most of the arch ifdefs with syscall existence tests.
Fix socketcall workaround