clean up build evironment