Fix VS 2010 compatibility