add proper support for providedCompile