Fixed portablity problems.

struct in6_addr member names can differ per platform.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core