update pegasus ref (merged msbuild)
Fix script error; fix windows build
Fix compile errors