Fix build under VS2010