vs2012 build fix