bug fix: now the root libraries get included correctly