Make sure __darwin__ is defined
Define LIBC_SYSCALL_ for OS X

OS X has the same declaration as FreeBSD.
Use extern for tsocks_libc_* in torsocks.h

Define tsocks_libc_* in the relevant source files and define
them as external in torsocks.h to avoid duplicate symbol errors.