Fix build error in Microsoft Visual Studio