changes to get the arguments to work on Mono env. Adds the NLog packages.