The international real business cycle when demand matters