Fixes build issue on Windows

Solves the following build issue:

error C2373: 'InitializeCriticalSectionEx' : redefinition;
different type modifiers