compute uptime directly since not supported on Windows