Allow build without KERN_RANDOM/RANDOM_UUID

This allows building on systems where KERN_RANDOM/RANDOM_UUID are undefined. See #181