Separated liteide into static and shared libs