Fix langsvr crashes on windows.
Fix langsvr crashes on windows.

Change-Id: If97466f622c8bde86746a3e3bd04a8e6f590dec9

ianthehat/gapid,pmuetschard/gapid,eternity74/gapid,ek9852/gapid,google/gapid,ben-clayton/gapid,eternity74/gapid,eternity74/gapid,google/agi,ek9852/gapid,dsrbecky/gapid,ek9852/gapid,google/agi,pmuetschard/gapid,dsrbecky/gapid,ianthehat/gapid,eternity74/gapid,baldwinn860/gapid,ek9852/gapid,eternity74/gapid,Qining/gapid,Qining/gapid,Qining/gapid,baldwinn860/gapid,ben-clayton/gapid,pmuetschard/gapid,pmuetschard/gapid,google/agi,dsrbecky/gapid,baldwinn860/gapid,eternity74/gapid,google/gapid,google/agi,ek9852/gapid,ianthehat/gapid,pmuetschard/gapid,ianthehat/gapid,google/agi,ianthehat/gapid,eternity74/gapid,dsrbecky/gapid,pmuetschard/gapid,Qining/gapid,google/agi,Qining/gapid,ianthehat/gapid,ben-clayton/gapid,pmuetschard/gapid,google/gapid,ben-clayton/gapid,dsrbecky/gapid,ben-clayton/gapid,google/gapid,dsrbecky/gapid,baldwinn860/gapid,google/gapid,Qining/gapid,pmuetschard/gapid,google/agi,ek9852/gapid,ben-clayton/gapid,ben-clayton/gapid,baldwinn860/gapid,google/agi,dsrbecky/gapid,ben-clayton/gapid,google/gapid,baldwinn860/gapid,dsrbecky/gapid,google/gapid,ianthehat/gapid,Qining/gapid,google/gapid,baldwinn860/gapid,ek9852/gapid,ek9852/gapid,baldwinn860/gapid,Qining/gapid