Recursive unpacking for double packed libraries