gretl: rebuild unused and delete some deps.