clean the shared lib