fix dependency build issue