Simplifying lambda function in CompilerStack::getInterface()