Fix 'make test' fail to build on Windows(MSVC)