Meritocracy is about how government employees (or those who aren't legally "employees" per se, but who still have the political power) are chosen, not about how students or private employees are chosen. (c.f. how the existence of religious schools doesn't imply the country is a theocracy, the existence of CEOs doesn't imply the country is an autocracy, etc.)