Allow compilation on Mac OS

luuid is not a separate library on Mac OS but is included in
System.dylib
Merge remote-tracking branch 'mac/fix-osx-build'

from https://github.com/fzadow/python-libuuid
Add "minor" own versioning ".sg"