Making the extension compilable