Normalized some line endings, fixed compiling under x64