vc 2012 fixes