Attempting to compile Hect as a shared library