Removes dynamic library.