change logic of determining apps that require a framework - making it depend on 'lib' might be a wrong choice