enable shared lib generation for all