attempt to support vs2012