(MSVC NGP) Build fixes for MSVC 2010