fixed build for vs2010