Fix build with VC 10