NSUUID implementation for iOS < 6 and OS X < 10.8