attempt to fix msvc debug linkage