Fixed compilation with VC2012