Tidy up final build task.