Fixed compilation on windows.