Add a patch that removes unnecessary directories.