fix EOL problem for Windows