Fix build on vs2008.