If you are ordering a specific worker to build a building at a point, you can issue that specific unit to cancel construction under the "unit- issue order" action. If it's an undead building that's already been summoned, I believe you can only do that using variables (i.e assigning a summoned building as a variable, then issueing the cancel order to all units assigned to that variable).
-VGsatomi