* Fix cmake detection in msys * Revert windows change * Update to unix line endings * Fix linking issues