Fixed compilation on VS2010.