fix uptime for darwin 10.10.1 onwards