public <T extends LinkerSpec> Compiler<T> createLinker() { CommandLineTool<LinkerSpec> commandLineTool = commandLineTool("Linker", install.getLinker(targetPlatform)); commandLineTool.withSpecTransformer(addLibraryPath()); return (Compiler<T>) new LinkExeLinker(commandLineTool); }