libslc: Fix issues with header dependencies