THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0 Patch: James Dickson and Alexandre Parenteau