Fix POSIX bug with uptime