Fixed compilation on Windows.