Fixed compilation on Windows.

 [ci skip]