[#1611] manipulate line ending to work on centos5
[#858] typo and extra feedback during build