fix Windows build scripts
add lock for FastI2I
Merge pull request #649 from LipuFei/fix-win-build

fix Windows build scripts