set target property to load shared lib in python