Fix compile on Windows