Fix automatic moc'ing of generated file lists.