fix swift build scripts
fix win32 building script
Merge pull request #635 from LipuFei/fix-build-scripts

Fix build scripts