Breaking out lib allows users to link against lkl without pulling the kitchen sink into their closure.