Fixed compilation in VS2008.