PTFM-5752 Support building applets as well as apps.