Fix the linkage problem on Win