allows to inject customized compiler