Fix parsing empty base class lists