VC10 compile fix