Fix compilation on windows (variable declaration was not in standard C)