Handle differences between BSD/GNU uptime