Add -logfile param, with default on Windows