turn off shared lib by default