Fixed lib-local header file issue in library recursion