The world must focus on strengthening institutions as it sets about withdrawing from the Afghan conflict.