You'd edit the export_descr_buildings.txt file in your /data dir so that it shows the word "barbarian" (or any faction you wish) between the { and } brackets wherever you find the term "requires factions" of the buildings you want to enable.