NSUUID implementation for iOS < 6.0 and OS X < 10.8