Fixing bug with exporting analysis.json after roundtrip through osp. Fixing small build issues discovered when ran experimental build on linux box.

[#59754426]