fixed DLL building in libwfshared and link libraries