towards vs2012 compatibility