Fix endline for linux