Fixed compile on Windows