compile/link cleanup