fixes to build on vs2012 successfully

per
https://code.google.com/p/googletest/issues/detail?id=408
and
http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx