remove log from flags and add windows support for walltime()