quick hack to make a shared library on linux