Add dynamic linking API exports to lib.