Move compiler to the core