fix library downloads for apps