Fix EOL for different OS