Made uptime more reliable on linux