Fix logic error in the code to extract local symbols from a closure.
Re-enable use of CompiledFrames.