Fixed admin check for Windows users.