Traverse externs to collect nosideeffects function names for later lookup.