code fix to compile on Windows
code fix to compile on Windows