Fixes CheckEventLog error handling if EvtQuery fails
Fixes some build errors in MSVC 2010
Fixes some build errors in MSVC 2010 - may be SDK related
Fixes to build scripts to support VS 2010
Fixes build error from deprecated boost::shared_dynamic_cast in Boost 1.55
Fixes MSVC build errors in gtest dependency