Implement Utility::NewUUID().

Fixes #3589
Removed obsolete ltdldir variable.