Monotonic clock fixes on Windows