Added linkig with shared lib