erik - 2011-01-20

Patch to add possibility to build shared library