Don't tie the script name to the .exe.so name.
diff --git a/tools/winegcc/utils.h b/tools/winegcc/utils.h
index 54ee5b7..0e42acb 100644
--- a/tools/winegcc/utils.h
+++ b/tools/winegcc/utils.h
@@ -59,7 +59,7 @@
} file_type;
char* get_basename(const char* file);
-void create_file(const char* name, const char* fmt, ...);
+void create_file(const char* name, int mode, const char* fmt, ...);
file_type get_file_type(const char* filename);
file_type get_lib_type(strarray* path, const char* library, char** file);
void spawn(const strarray* arr);