Fixed compilation on Windows port.