[FIX] autogen: Split out library