ares: Fixed compilation under Visual Studio 2012