Fix strict mode error with uptime on Windows