Windows logging build fix