mingw dlfcn support added.