This reverts commit 4d9fa115f60542f0fc2c03ac23518ae5997d897e.
To build against glibc 2.12.1 we have to add --no-export-dynamic to the ld options used to link dmset.static. Using --export-dynamic doesn't make sense in a static link anyway.