Fix 32-bit machines and darwin uptime bug.