libslc: Fix include root extraction