Fixed a build error in Windows