Fix VS2010 build