aosd: Compile as C++, except for ghosd.c which needs to access XVisualInfo.class.