Fixed up command line parsing for unit tests in linux that caused crash on startup