Only call getuid() on unix