Fix dist-task.