Fix CRLF
Qt 5 (not full now) and Mac OS X support