remove things related to building as a shared library