quick hack to create shared library (use configure --with-shared)
clean shared lib