fix build for mono in linux
convert all line endings to unix format