build a shared library, libterra.so, in addition to static library.
this shared library includes LLVM/Clang since they are not normally distributed
as shared libraries, but doesn not include libluajit since it is normally also distributed as a shared library.
missing readnumber file
improve flags for shared libraries on linux.