Change the parser for QC and SMD files to be system specific for line endings. Currently only looks for CLRF (DOS) line endings \r\n, should look for LF (Unix) line endings on Unix systems \n.
For now, make sure to save QC and SMD files using LF line endings on when compiling on macOS/Linux.