Make buildsym set-up/tear-down more consistent, and document it.