libwine: Export functions that return the Wine version number and build id.
diff --git a/loader/main.c b/loader/main.c
index 5e0f330..0a1afbb 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -68,7 +68,6 @@
  */
 static void check_command_line( int argc, char *argv[] )
 {
-    extern const char wine_version[];
     static const char usage[] =
         "Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program\n"
         "       wine --help                   Display this help and exit\n"
@@ -86,7 +85,7 @@
     }
     if (!strcmp( argv[1], "--version" ))
     {
-        printf( "%s\n", wine_version );
+        printf( "%s\n", wine_get_build_id() );
         exit(0);
     }
 }