compiling hexatylaCommon.so as a dynamic library