Made build compatible with Windows, removed redundant log creation