Clean up build target reference.