Only check root privileges for Linux