Fix compilation error on Windows

Not allowed to mix declarations and code in ISO C90...