fix vs2010 build