Cleanup two phase compiler.