Fix build errors caused by the libc cleanup
DOS line endings to UNIX