Fix building with VS2010.