Provides UUID generation functions suitable for FreeBSD, avoiding the dependency on the ossp libraries which cause build problems with contrib/uuid-ossp.