Make versioned symbols only for shared library.