updates to vs2010 build issue