[lib] add uuid_create support for bsds