Lib compiler