Fix compile issue in VC context.