change build as shared linked to static linked