Don't include MacTypes.h using an absolute path

This fixes building on newer xcode/OS X versions where the
headers aren't installed in the system locations but only within
the platform SDK within xcode.
Include cstring to provide std::memcpy
Merge branch 'fixes'
Merge branch 'master' into ipv6