Update to the building API

adds cancel_build and subsidize_one_build