Measuring External Debt in a Context of Macroeconomic Imbalances