Handle case when Kotlin2JsCompile fails to create its output dir