Fix compile error for VC.