If there is wood, radiocarbon dating for that. If the building is some kind of stone and the quarry can be located, it might be possible to determine when the stone was quarried from organic evidence at the quarry. There are also more esoteric techniques to measure when some inorganic structure that is buried was last exposed to light.