Fix emotion build