Winelib and C++ static initialization