Adds the extern C block to the API header.