log path fix for non-windows systems