fix shared lib