uuidUDF, UUID Lib, CREATE_UUID in Firebird 2.5

--- uuidlibv12/uuidlibv1.2/Source/uuid.c	2005-10-12 13:13:40.000000000 +0200
+++ uuidlibv12-patched/uuidlibv1.2/Source/uuid.c	2018-01-20 12:44:38.446284700 +0100
@@ -91,6 +91,7 @@
            char * tmp = getenv("TMP");
 	   if (!tmp) {
 	        tmp = getenv("TEMP");
+tmp="/tmp";
 	   }
 	   char * tmpStr;
 	   tmpStr = (char *) malloc(strlen(tmp) + 20);
@@ -130,6 +131,7 @@
            char * tmp = getenv("TMP");
 	   if (!tmp) {
 	        tmp = getenv("TEMP");
+tmp="/tmp";
 	   }
 	   char * tmpStr;
 	   tmpStr = (char *) malloc(strlen(tmp) + 20);