clean up cmake environment