Actually normalise the line endings.
Fixed linking of binaries under visual c++ when debug output is enabled.