Combine extern C blocks and add link name