Remove unused locals from shared_object_files