We need theoradec and pthread as well.