Add -logfile flag, Windows only