Fixed windows build with gcc
Windows fix