Don't worry about them. Compost contains rotted-down material, including wood and old plant material, and that is what the fungi feed on, breaking things down in the process. The chances of them being honey fungus - which generally feeds on old tree stumps - is very, very low indeed.