Cleanup for compile