mingw32 compilation update and alternative approach to list network interface(win32)