[WIN] fix logging initialization; SEGV on start