Fix line endings (CRLF->LF), remove spaces at end of lines
Fix Debian build