Add a compile task.