Adding the options for shared libraries.