optimize ccall symbol lookup codegen