Home sales on track for second-half recovery as inventory builds