fix line endings issue on Windows