vc++2010e compatibility small patch