[Add/change] acidtest: speedup line endings conversion and link

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Merge remote-tracking branch 'okomarov/lineEndings'

Not tested since this is Windows-specific (via `ispc`) and I don't currently
have access to a Windows machine with MATLAB installed.
Visual inspection of the code was performed, however.