allow buildtoc to find libraries after chdir into pod/