[gtk] Only use appindicator in Unity
fixed various compile problems