make getLibRoots call asynchronous