link curl to shared library, not interface