modified the library such that we can compile a dynamic library, install it and the use in thingml