TypeScript.BatchCompiler is too inflexible. Use custom TypeScriptCompiler wrapper instead.