Fix dependency build issue