Fix UUID generator to work on 32 bit systems.
Fix UUID generator to work on 32 bit systems.

FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes