Fix plugin building to fix theme loading.